home *** CD-ROM | disk | FTP | other *** search
-
-
-
- gggglllluuuuDDDDiiiisssskkkk((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee gggglllluuuuDDDDiiiisssskkkk((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- gggglllluuuuDDDDiiiisssskkkk - draw a disk
-
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- void gggglllluuuuDDDDiiiisssskkkk( GLUquadric* _q_u_a_d,
- GLdouble _i_n_n_e_r,
- GLdouble _o_u_t_e_r,
- GLint _s_l_i_c_e_s,
- GLint _l_o_o_p_s )
-
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _q_u_a_d Specifies the quadrics object (created with gggglllluuuuNNNNeeeewwwwQQQQuuuuaaaaddddrrrriiiicccc).
-
- _i_n_n_e_r Specifies the inner radius of the disk (may be 0).
-
- _o_u_t_e_r Specifies the outer radius of the disk.
-
- _s_l_i_c_e_s Specifies the number of subdivisions around the _z axis.
-
- _l_o_o_p_s Specifies the number of concentric rings about the origin into
- which the disk is subdivided.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- gggglllluuuuDDDDiiiisssskkkk renders a disk on the _z = 0 plane. The disk has a radius of
- _o_u_t_e_r, and contains a concentric circular hole with a radius of _i_n_n_e_r. If
- _i_n_n_e_r is 0, then no hole is generated. The disk is subdivided around the
- _z axis into slices (like pizza slices), and also about the _z axis into
- rings (as specified by _s_l_i_c_e_s and _l_o_o_p_s, respectively).
-
- With respect to orientation, the +_z side of the disk is considered to be
- "outside" (see gggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccOOOOrrrriiiieeeennnnttttaaaattttiiiioooonnnn). This means that if the
- orientation is set to GGGGLLLLUUUU____OOOOUUUUTTTTSSSSIIIIDDDDEEEE, then any normals generated point along
- the +_z axis. Otherwise, they point along the -_z axis.
-
- If texturing has been turned on (with gggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccTTTTeeeexxxxttttuuuurrrreeee), texture
- coordinates are generated linearly such that where r = outer, the value
- at (_r, 0, 0) is (1, 0.5), at (0, _r, 0) it is (0.5, 1), at (-_r, 0, 0) it
- is (0, 0.5), and at (0, -_r, 0) it is (0.5, 0).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- gggglllluuuuCCCCyyyylllliiiinnnnddddeeeerrrr, gggglllluuuuNNNNeeeewwwwQQQQuuuuaaaaddddrrrriiiicccc, gggglllluuuuPPPPaaaarrrrttttiiiiaaaallllDDDDiiiisssskkkk, gggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccOOOOrrrriiiieeeennnnttttaaaattttiiiioooonnnn,
- gggglllluuuuQQQQuuuuaaaaddddrrrriiiiccccTTTTeeeexxxxttttuuuurrrreeee, gggglllluuuuSSSSpppphhhheeeerrrreeee
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-